package com.groupbuying.sysconfig.constants;

public class CommonConstants {
    public final static String CONTEXT_TOKEN="Authorization";
    public final static String CONTEXT_USERNAME="contextUsername";
    public final static String CONTEXT_USER_ID="contextUserId";
    public final static String CONTEXT_NAME="contextName";
    public final static String JWT_PRIVATE_KEY ="ywxd";
    public final static String RENEWAL_TIME =  "renewalTime";
    public final static String TOKEN = "token";

    /**
     * 删除状态，1表示未删除
     */
    public static final String COMMON_FLAG_UNDEL = "1";
    /**
     * 删除状态，0表示删除
     */
    public static final String COMMON_FLAG_DEL = "0";

    /**
     * 启用状态，1表示正常使用
     */
    public static final String COMMON_STATE_UES = "1";

    /**
     * 启用状态，0表示未启用
     */
    public static final String COMMON_STATE_UNUES = "0";

    /**
     * 用户token过期时间，天
     */
    public static final Long COMMON_TOKEN_DAY = new Long(30);


    /**
     * 支付渠道Key
     */
    public static final String ENUM_KEY_PAYCHANNEL = "pay_channel";

    /**
     * 线上支付分成比例
     */
    public static final String ENUM_KEY_PAY_SCALE = "yd_settle_pay_scale";

    /**
     * 积分支付分成比例
     */
    public static final String ENUM_KEY_CUR_SCALE = "yd_settle_cur_scale";

    /**
     * 够样优惠买单平台分成比例
     */
    public static final String ENUM_KEY_GYYHPAY_SCALE = "gyyh_settle_pay_scale";

    /**
     * 线上结算打款渠道
     */
    public static final String ENUM_KEY_CASH_CHANNEL = "yd_cash_channel";

    /**
     * 提现手续费
     */
    public static final String ENUM_KEY_FEE_CASH = "yd_ys_fee_cash";

    /**
     * 代打手续费
     */
    public static final String ENUM_KEY_FEE_REPLACE = "yd_ys_fee_replace";

}
